package com.maxlen.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maxlen.admin.entity.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2022-10-11
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> findAllPathByAdminId(Long id);

    List<String> findAllSelectPath();

    List<String> findAllPathByRoleId(Long id);

    List<Permission> findAllListByRoleId(Long id);
}
